Optimal. Leaf size=398 \[ \frac{d^2 (d+e x) \sqrt{\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c (d+e x)^3}{\sqrt{b^2-4 a c}+b}+1} F_1\left (\frac{1}{3};\frac{1}{2},\frac{1}{2};\frac{4}{3};-\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}},-\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}\right )}{e^3 \sqrt{a+b (d+e x)^3+c (d+e x)^6}}-\frac{d (d+e x)^2 \sqrt{\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c (d+e x)^3}{\sqrt{b^2-4 a c}+b}+1} F_1\left (\frac{2}{3};\frac{1}{2},\frac{1}{2};\frac{5}{3};-\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}},-\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}\right )}{e^3 \sqrt{a+b (d+e x)^3+c (d+e x)^6}}+\frac{\tanh ^{-1}\left (\frac{b+2 c (d+e x)^3}{2 \sqrt{c} \sqrt{a+b (d+e x)^3+c (d+e x)^6}}\right )}{3 \sqrt{c} e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.687049, antiderivative size = 398, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 9, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.321, Rules used = {1389, 1790, 1348, 429, 1385, 510, 1352, 621, 206} \[ \frac{d^2 (d+e x) \sqrt{\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c (d+e x)^3}{\sqrt{b^2-4 a c}+b}+1} F_1\left (\frac{1}{3};\frac{1}{2},\frac{1}{2};\frac{4}{3};-\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}},-\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}\right )}{e^3 \sqrt{a+b (d+e x)^3+c (d+e x)^6}}-\frac{d (d+e x)^2 \sqrt{\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c (d+e x)^3}{\sqrt{b^2-4 a c}+b}+1} F_1\left (\frac{2}{3};\frac{1}{2},\frac{1}{2};\frac{5}{3};-\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}},-\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}\right )}{e^3 \sqrt{a+b (d+e x)^3+c (d+e x)^6}}+\frac{\tanh ^{-1}\left (\frac{b+2 c (d+e x)^3}{2 \sqrt{c} \sqrt{a+b (d+e x)^3+c (d+e x)^6}}\right )}{3 \sqrt{c} e^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1389
Rule 1790
Rule 1348
Rule 429
Rule 1385
Rule 510
Rule 1352
Rule 621
Rule 206
Rubi steps
\begin{align*} \int \frac{x^2}{\sqrt{a+b (d+e x)^3+c (d+e x)^6}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{(-d+x)^2}{\sqrt{a+b x^3+c x^6}} \, dx,x,d+e x\right )}{e^3}\\ &=\frac{\operatorname{Subst}\left (\int \left (\frac{d^2}{\sqrt{a+b x^3+c x^6}}-\frac{2 d x}{\sqrt{a+b x^3+c x^6}}+\frac{x^2}{\sqrt{a+b x^3+c x^6}}\right ) \, dx,x,d+e x\right )}{e^3}\\ &=\frac{\operatorname{Subst}\left (\int \frac{x^2}{\sqrt{a+b x^3+c x^6}} \, dx,x,d+e x\right )}{e^3}-\frac{(2 d) \operatorname{Subst}\left (\int \frac{x}{\sqrt{a+b x^3+c x^6}} \, dx,x,d+e x\right )}{e^3}+\frac{d^2 \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b x^3+c x^6}} \, dx,x,d+e x\right )}{e^3}\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b x+c x^2}} \, dx,x,(d+e x)^3\right )}{3 e^3}-\frac{\left (2 d \sqrt{1+\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}}\right ) \operatorname{Subst}\left (\int \frac{x}{\sqrt{1+\frac{2 c x^3}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^3}{b+\sqrt{b^2-4 a c}}}} \, dx,x,d+e x\right )}{e^3 \sqrt{a+b (d+e x)^3+c (d+e x)^6}}+\frac{\left (d^2 \sqrt{1+\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+\frac{2 c x^3}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^3}{b+\sqrt{b^2-4 a c}}}} \, dx,x,d+e x\right )}{e^3 \sqrt{a+b (d+e x)^3+c (d+e x)^6}}\\ &=\frac{d^2 (d+e x) \sqrt{1+\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}} F_1\left (\frac{1}{3};\frac{1}{2},\frac{1}{2};\frac{4}{3};-\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}},-\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}\right )}{e^3 \sqrt{a+b (d+e x)^3+c (d+e x)^6}}-\frac{d (d+e x)^2 \sqrt{1+\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}} F_1\left (\frac{2}{3};\frac{1}{2},\frac{1}{2};\frac{5}{3};-\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}},-\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}\right )}{e^3 \sqrt{a+b (d+e x)^3+c (d+e x)^6}}+\frac{2 \operatorname{Subst}\left (\int \frac{1}{4 c-x^2} \, dx,x,\frac{b+2 c (d+e x)^3}{\sqrt{a+b (d+e x)^3+c (d+e x)^6}}\right )}{3 e^3}\\ &=\frac{d^2 (d+e x) \sqrt{1+\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}} F_1\left (\frac{1}{3};\frac{1}{2},\frac{1}{2};\frac{4}{3};-\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}},-\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}\right )}{e^3 \sqrt{a+b (d+e x)^3+c (d+e x)^6}}-\frac{d (d+e x)^2 \sqrt{1+\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}} F_1\left (\frac{2}{3};\frac{1}{2},\frac{1}{2};\frac{5}{3};-\frac{2 c (d+e x)^3}{b-\sqrt{b^2-4 a c}},-\frac{2 c (d+e x)^3}{b+\sqrt{b^2-4 a c}}\right )}{e^3 \sqrt{a+b (d+e x)^3+c (d+e x)^6}}+\frac{\tanh ^{-1}\left (\frac{b+2 c (d+e x)^3}{2 \sqrt{c} \sqrt{a+b (d+e x)^3+c (d+e x)^6}}\right )}{3 \sqrt{c} e^3}\\ \end{align*}
Mathematica [F] time = 0.430273, size = 0, normalized size = 0. \[ \int \frac{x^2}{\sqrt{a+b (d+e x)^3+c (d+e x)^6}} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.042, size = 0, normalized size = 0. \begin{align*} \int{{x}^{2}{\frac{1}{\sqrt{a+b \left ( ex+d \right ) ^{3}+c \left ( ex+d \right ) ^{6}}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\sqrt{{\left (e x + d\right )}^{6} c +{\left (e x + d\right )}^{3} b + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{x^{2}}{\sqrt{c e^{6} x^{6} + 6 \, c d e^{5} x^{5} + 15 \, c d^{2} e^{4} x^{4} + c d^{6} +{\left (20 \, c d^{3} + b\right )} e^{3} x^{3} + 3 \,{\left (5 \, c d^{4} + b d\right )} e^{2} x^{2} + b d^{3} + 3 \,{\left (2 \, c d^{5} + b d^{2}\right )} e x + a}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\sqrt{a + b d^{3} + 3 b d^{2} e x + 3 b d e^{2} x^{2} + b e^{3} x^{3} + c d^{6} + 6 c d^{5} e x + 15 c d^{4} e^{2} x^{2} + 20 c d^{3} e^{3} x^{3} + 15 c d^{2} e^{4} x^{4} + 6 c d e^{5} x^{5} + c e^{6} x^{6}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\sqrt{{\left (e x + d\right )}^{6} c +{\left (e x + d\right )}^{3} b + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]